﻿@model RssFeederASPClient.Models.RssModels.NewRssModel
@{
    ViewBag.Title = "AddRss";
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
</hgroup>



<section id="loginForm">
<h2>Rajouter un flux rss.</h2>
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Formulaire de connexion</legend>
        <ol>
            @*<li>
                @Html.LabelFor(m => m.Titre)
                @Html.TextBoxFor(m => m.Titre)
                @Html.ValidationMessageFor(m => m.Titre)
            </li>*@
            <li>
                @Html.LabelFor(m => m.Lien)
                @Html.TextBoxFor(m => m.Lien)
                @Html.ValidationMessageFor(m => m.Lien)
            </li>
            @*<li>
                @Html.LabelFor(m => m.Description)
                @Html.TextBoxFor(m => m.Description)
                @Html.ValidationMessageFor(m => m.Description)
            </li>
            <li>
                @Html.CheckBoxFor(m => m.IsPublic)
                @Html.LabelFor(m => m.IsPublic, new { @class = "checkbox" })
            </li>*@
        </ol>
        <input type="submit" value="Ajouter" />
    </fieldset>
    <p>
        @Html.ActionLink("Register", "Register") si vous n’avez pas de compte.
    </p>
}
</section>